package com.qishao.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @Title：KillFeign.java
 * @Author：XUSHAOQI
 * @DATE：2021/12/13
 */
@Component
@FeignClient("seckillservice")
public interface KillFeign {

    @PostMapping("/goods/test")
    public Map<String,Object> test(@PathVariable("map") @RequestBody Map<String,Object> map);

}
